package com.example.boot.rabbitmq.producer.boot.config.delay;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @author ccubee
 * @since 21-3-6 22:48
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Configuration
@ConfigurationProperties(prefix = "rabbit.delay")
@EnableConfigurationProperties(RabbitDelayProperties.class)
public class RabbitDelayProperties {


    private String normalExchange;
    private String normalQueue;
    private String normalKey;

    private String delayExchange;
    private String delayQueue;
    private String delayKey;


}
